home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gwu / predefp.h < prev    next >
C/C++ Source or Header  |  1996-01-30  |  2KB  |  72 lines

  1. /*
  2.  * Copyright (C) 1985-1992  New York University
  3.  * 
  4.  * This file is part of the Ada/Ed-C system.  See the Ada/Ed README file for
  5.  * warranty (none) and distribution info and also the GNU General Public
  6.  * License for more details.
  7.  
  8.  */
  9.  
  10. /* predef1 */
  11. void predef();
  12. void predef_raise(int, char *);
  13.  
  14. /* predef2 */
  15. void calendar();
  16.  
  17. /* predef3 */
  18. int *get_argument_ptr(int);
  19. void get_string_value(int);
  20. char *make_string();
  21. int get_argument_value(int);
  22. float get_float_argument_value(int);
  23. long get_long_argument_value(int);
  24. void get_filenum();
  25. void get_file_argument_or_default();
  26. void return_string(char *, int);
  27.  
  28. /* predef4 */
  29. void initialize_predef();
  30. void check_opened_ok();
  31. void check_file_open();
  32. void check_status(int);
  33. void open_textio(char);
  34. void load_look_ahead();
  35. void close_textio();
  36. char get_char();
  37. void skip_line();
  38. void put_blanks(int);
  39. void put_char(char);
  40. void put_line();
  41. void put_page();
  42. void put_string(char *);
  43. void put_buffer(char *, int, char);
  44. void open_seq_io(int);
  45. void open_dir_io(int);
  46. void close_file();
  47. void predef_term();
  48. char *predef_alloc(int);
  49. void predef_free(char *);
  50. #ifdef IBM_PC
  51. FILE *fopen_bin(char *, char *);
  52. FILE *fopen_txt(char *, char *);
  53. #endif
  54.  
  55. /* predef5 */
  56. void scan_enum();
  57. void scan_enum_string(int *);
  58. int scan_integer(int *, int);
  59. int scan_integer_string(int *, int *);
  60. long scan_fixed(int *, int);
  61. long scan_fixed_string(int *, int *);
  62. float scan_float(int *, int);
  63. float scan_float_string(int *, int *);
  64. int enum_ord(int *, int, int);
  65.  
  66. /* predef6 */
  67.  
  68. void image_integer(int, int);
  69. void image_fixed (long, int *, int, int, int);
  70. void image_float (float, int, int, int);
  71. void image_enum(int, int *);
  72.